package com.right;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**********************************************
 * @author pillar
 * @date 2018/6/14
 **********************************************/
@Component
@ConfigurationProperties(value = "netty")
@Data
public class NettyConfig {

    private int port;
}
